/**
 * Created by nengjian on 2017/5/16.
 */
var     wxingBookshelf = require('./app/models'),
        wxings      = require('./app/wxings');

module.exports = app => {
    app.beforeStart(function* () {
        // 应用会等待这个函数执行完成才启动
        //app.posts = "posts";
        wxingBookshelf.init()
        //console.log('wxingBookshelf',wxingBookshelf);
        wxings.init();
    });
};